<?php
/**
 * 客户跟进
 * Created by PhpStorm.
 * User: zhan
 * Date: 2018/11/5  17:04
 */
namespace app\api\controller;
class Customer extends Base
{
    //检查权限作用域
    protected $beforeActionList = [
        'checkPrimaryScope' => [
            'except' => 'except'
        ],
    ];

    /**
     *   列表
     */
    public function customerList()
    {
        $customerList = (new \app\api\logic\Customer())->customerList();
        return $this->ajaxReturn($customerList);
    }

    /*
    *编辑
    */
    public function customerEdit()
    {
        $customerEdit = (new \app\api\logic\Customer())->customerEdit();
        return $this->ajaxReturn($customerEdit);
    }
}